/* 博客正文容器 */
.blog-content {
    padding: 30px;
}

/* 博客标题 */
.blog-content h3 {
    text-align: center;
    padding: 20px 0;
}

/* 博客信息 */
.blog-content .message {
    color: #008000;
    padding: 10px 0;
    text-align: center;
}

/* 博客内容段落 */
.blog-content p {
    text-indent: 2em;
    padding: 10px 0;
}

/* 用于折叠/展开的内容区域样式 */
.art-content {
    max-height: 500px;
    /* 设置内容的最大高度 */
    overflow: hidden;
    /* 隐藏超出部分 */
    transition: max-height 0.3s ease-in-out;
    /* 添加平滑的过渡效果 */
}

/* 展开/折叠按钮的样式 */
.expand-btn {
    display: none;
    /* 初始状态隐藏按钮 */
    margin-top: 10px;
    cursor: pointer;
    color: blue;
}

/* 评论区 */
.comments {
    padding: 15px;
    background-color: rgba(235, 235, 235, 0.5);
    /* border: 1px solid #ddd; */
    margin-top: 30px;
    width: 100%;
}

/* 评论标题 */
.comments h4 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #333;
    width: 100%;

}

/* 评论列表 */
.comment-list {
    border-top: 1px solid #ddd;
    margin-top: 20px;
    padding-top: 20px;
    width: 100%;

}

.comments {
    font-family: Arial, sans-serif;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.comment {
    /* margin-bottom: 20px; */
    padding: 10px;
    border: 1px solid hwb(0 92% 5%);
    border-radius: 5px;
    background-color: rgba(235, 235, 235, 0.5);
}

.comment-header {
    height: 35px;
    display: flex;
    align-items: center;
    color: green;
}

.avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px;
}

.username .commenttime {
    height: 30px;
}

.comment-content {
    margin-top: 10px;
}

.comment-content p {
    margin: 5px;
    padding: 2px;
}

.delete {
    height: 25px;
    display: flex;
    justify-content: flex-end;
}

.delete button {
    height: 25px;
    width: 80px;
    font-size:xx-small;
    color: black;
    border: 1px solid #ccc;
    padding: 5px 10px;
    border-radius: 3px;
}

.delete button:active {
    background-color: gray;
    color: black;
}


.comment-input {
    margin-top: 20px;
}

.input {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    resize: vertical;
}

.ctrl {
    text-align: right;
    margin-top: 10px;
}

.ctrl button {
    margin-top: 3px;
    background-color: #2ecc71;
    color: white;
    border: none;
    padding: 5px 15px;
    border-radius: 3px;
    cursor: pointer;
}

.ctrl button:active {
    background-color: gray;
    color: black;
}